package com.doeis.uwork.bean;

import java.sql.Date;
import java.sql.Timestamp;

import com.voland.core.annotation.Table;
import com.voland.core.db.Entity;

@Table(name="item_data")
public class ItemData extends Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String item_id;
	private Date item_date;
	private Double item_value;
	private String creator;
	private Timestamp updated_at;
	private Boolean is_from_vps;
	private String vps_key;

	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}

	public String getItem_id(){
		return item_id;
	}
	public void setItem_id(String item_id){
		this.item_id = item_id;
	}

	public Date getItem_date(){
		return item_date;
	}
	public void setItem_date(Date item_date){
		this.item_date = item_date;
	}

	public Double getItem_value(){
		return item_value;
	}
	public void setItem_value(Double item_value){
		this.item_value = item_value;
	}

	public String getCreator(){
		return creator;
	}
	public void setCreator(String creator){
		this.creator = creator;
	}

	public Timestamp getUpdated_at(){
		return updated_at;
	}
	public void setUpdated_at(Timestamp updated_at){
		this.updated_at = updated_at;
	}
	
	public Boolean getIs_from_vps() {
		return is_from_vps;
	}
	public void setIs_from_vps(Boolean is_from_vps) {
		this.is_from_vps = is_from_vps;
	}
	public String getVps_key() {
		return vps_key;
	}
	public void setVps_key(String vps_key) {
		this.vps_key = vps_key;
	}
	
	@Override
	public String toString(){
		return "ItemData ["+
			"id="+id+", item_id="+item_id+", "+
			"item_date="+item_date+", item_value="+item_value+", "+
			"creator="+creator+", updated_at="+updated_at+", "+
			"toString()="+super.toString() +"]";
	}
}